from odoo import fields, models, api


class MIChangeResume(models.Model):
    _name = 'mi.change.resume'
    _description = 'MI Change Resume'

    product_id = fields.Many2one('product.template', string='Product', required=True)
    pn_rev = fields.Char(string='P/N&Rev.')
    create_date = fields.Datetime(string='Release Date', )
    change_text = fields.Text(string='Reversion Change Summary')
    mi_engineer = fields.Char(string='MI Engineer')
    change_level = fields.Integer(string='Change Level')  # 1 创建 2 更新 3 重大修改  4 涉及部分字段重算变更
